using MediFox.Synchronization.ClientServices.PerstSyncProvider;

namespace DefaultScope
{

    public partial class Tag : PerstOfflineEntity
    {

        private int _ID;

        private string _Name;

        [System.ComponentModel.DataAnnotations.KeyAttribute()]
        public int ID
        {
            get
            {
                return _ID;
            }
            set
            {
                base.OnPropertyChanging("ID");
                _ID = value;
                base.OnPropertyChanged("ID");
            }
        }

        public string Name
        {
            get
            {
                return _Name;
            }
            set
            {
                base.OnPropertyChanging("Name");
                _Name = value;
                base.OnPropertyChanged("Name");
            }
        }
    }

    public partial class Priority : PerstOfflineEntity
    {

        private int _ID;

        private string _Name;

        [System.ComponentModel.DataAnnotations.KeyAttribute()]
        public int ID
        {
            get
            {
                return _ID;
            }
            set
            {
                base.OnPropertyChanging("ID");
                _ID = value;
                base.OnPropertyChanged("ID");
            }
        }

        public string Name
        {
            get
            {
                return _Name;
            }
            set
            {
                base.OnPropertyChanging("Name");
                _Name = value;
                base.OnPropertyChanged("Name");
            }
        }
    }

    public partial class Status : PerstOfflineEntity
    {

        private int _ID;

        private string _Name;

        [System.ComponentModel.DataAnnotations.KeyAttribute()]
        public int ID
        {
            get
            {
                return _ID;
            }
            set
            {
                base.OnPropertyChanging("ID");
                _ID = value;
                base.OnPropertyChanged("ID");
            }
        }

        public string Name
        {
            get
            {
                return _Name;
            }
            set
            {
                base.OnPropertyChanging("Name");
                _Name = value;
                base.OnPropertyChanged("Name");
            }
        }
    }

    public partial class User : PerstOfflineEntity
    {

        private System.Guid _ID;

        private string _Name;

        [System.ComponentModel.DataAnnotations.KeyAttribute()]
        public System.Guid ID
        {
            get
            {
                return _ID;
            }
            set
            {
                base.OnPropertyChanging("ID");
                _ID = value;
                base.OnPropertyChanged("ID");
            }
        }

        public string Name
        {
            get
            {
                return _Name;
            }
            set
            {
                base.OnPropertyChanging("Name");
                _Name = value;
                base.OnPropertyChanged("Name");
            }
        }
    }

    public partial class List : PerstOfflineEntity
    {

        private System.Guid _ID;

        private string _Name;

        private string _Description;

        private System.Guid _UserID;

        private System.DateTime _CreatedDate;

        [System.ComponentModel.DataAnnotations.KeyAttribute()]
        public System.Guid ID
        {
            get
            {
                return _ID;
            }
            set
            {
                base.OnPropertyChanging("ID");
                _ID = value;
                base.OnPropertyChanged("ID");
            }
        }

        public string Name
        {
            get
            {
                return _Name;
            }
            set
            {
                base.OnPropertyChanging("Name");
                _Name = value;
                base.OnPropertyChanged("Name");
            }
        }

        public string Description
        {
            get
            {
                return _Description;
            }
            set
            {
                base.OnPropertyChanging("Description");
                _Description = value;
                base.OnPropertyChanged("Description");
            }
        }

        public System.Guid UserID
        {
            get
            {
                return _UserID;
            }
            set
            {
                base.OnPropertyChanging("UserID");
                _UserID = value;
                base.OnPropertyChanged("UserID");
            }
        }

        public System.DateTime CreatedDate
        {
            get
            {
                return _CreatedDate;
            }
            set
            {
                base.OnPropertyChanging("CreatedDate");
                _CreatedDate = value;
                base.OnPropertyChanged("CreatedDate");
            }
        }
    }

    public partial class Item : PerstOfflineEntity
    {

        private System.Guid _ID;

        private System.Guid _ListID;

        private System.Guid _UserID;

        private string _Name;

        private string _Description;

        private System.Nullable<int> _Priority;

        private System.Nullable<int> _Status;

        private System.Nullable<System.DateTime> _StartDate;

        private System.Nullable<System.DateTime> _EndDate;

        [System.ComponentModel.DataAnnotations.KeyAttribute()]
        public System.Guid ID
        {
            get
            {
                return _ID;
            }
            set
            {
                base.OnPropertyChanging("ID");
                _ID = value;
                base.OnPropertyChanged("ID");
            }
        }

        public System.Guid ListID
        {
            get
            {
                return _ListID;
            }
            set
            {
                base.OnPropertyChanging("ListID");
                _ListID = value;
                base.OnPropertyChanged("ListID");
            }
        }

        public System.Guid UserID
        {
            get
            {
                return _UserID;
            }
            set
            {
                base.OnPropertyChanging("UserID");
                _UserID = value;
                base.OnPropertyChanged("UserID");
            }
        }

        public string Name
        {
            get
            {
                return _Name;
            }
            set
            {
                base.OnPropertyChanging("Name");
                _Name = value;
                base.OnPropertyChanged("Name");
            }
        }

        public string Description
        {
            get
            {
                return _Description;
            }
            set
            {
                base.OnPropertyChanging("Description");
                _Description = value;
                base.OnPropertyChanged("Description");
            }
        }

        public System.Nullable<int> Priority
        {
            get
            {
                return _Priority;
            }
            set
            {
                base.OnPropertyChanging("Priority");
                _Priority = value;
                base.OnPropertyChanged("Priority");
            }
        }

        public System.Nullable<int> Status
        {
            get
            {
                return _Status;
            }
            set
            {
                base.OnPropertyChanging("Status");
                _Status = value;
                base.OnPropertyChanged("Status");
            }
        }

        public System.Nullable<System.DateTime> StartDate
        {
            get
            {
                return _StartDate;
            }
            set
            {
                base.OnPropertyChanging("StartDate");
                _StartDate = value;
                base.OnPropertyChanged("StartDate");
            }
        }

        public System.Nullable<System.DateTime> EndDate
        {
            get
            {
                return _EndDate;
            }
            set
            {
                base.OnPropertyChanging("EndDate");
                _EndDate = value;
                base.OnPropertyChanged("EndDate");
            }
        }
    }

    public partial class TagItemMapping : PerstOfflineEntity
    {

        private int _TagID;

        private System.Guid _ItemID;

        private System.Guid _UserID;

        [System.ComponentModel.DataAnnotations.KeyAttribute()]
        public int TagID
        {
            get
            {
                return _TagID;
            }
            set
            {
                base.OnPropertyChanging("TagID");
                _TagID = value;
                base.OnPropertyChanged("TagID");
            }
        }

        [System.ComponentModel.DataAnnotations.KeyAttribute()]
        public System.Guid ItemID
        {
            get
            {
                return _ItemID;
            }
            set
            {
                base.OnPropertyChanging("ItemID");
                _ItemID = value;
                base.OnPropertyChanged("ItemID");
            }
        }

        [System.ComponentModel.DataAnnotations.KeyAttribute()]
        public System.Guid UserID
        {
            get
            {
                return _UserID;
            }
            set
            {
                base.OnPropertyChanging("UserID");
                _UserID = value;
                base.OnPropertyChanged("UserID");
            }
        }
    }
}
